package com.tjh.springbootapi.common;

/**
 * Create by koala on 2019-12-31
 */

public class ApiConstants {

    /**
     * user token储存redis的key前缀
     */
    public static final String REDIS_KEY_USER_TOKEN_PREFIX = "userToken:";
    /**
     * 请求header key定义
     */
    public static final String HEADER_USER_ID = "user-id";
    public static final String HEADER_API_TOKEN = "api-token";
}
